#include "backdrop_sfx.h"
#include "backdrop.h"

#include "camera/abstract_camera.h"

#include "util/timer.h"				// log
#include "util/log.h"				// log
#include "util/common_macros.h"		// macros
#include "util/mmgr.h"		    

using namespace backdrop;

BackdropSFX::BackdropSFX(camera::AbstractCamera* pCam, backdrop::Backdrop* pBackdrop) : 
	m_pCamera(pCam),
	m_pBackdrop(pBackdrop)
{

}

BackdropSFX::~BackdropSFX()
{
	for (unsigned int i=0; i<m_Set.size(); i++)
	{
		delete m_Set[i];
	}
}

void BackdropSFX::Tick(float dt)
{
	for (unsigned int i=0; i<m_Set.size(); i++)
	{
		m_Set[i]->Tick(dt);
	}
}

void BackdropSFX::Render()
{
	for (unsigned int i=0; i<m_Set.size(); i++)
	{
		m_Set[i]->Render();
	}
}
